package vsvm.math.statistics.histogram;

public class HistogramItem {
	
	private String  label  = null;
	private double  start = 0.0f;
	private double  end	  = 0.0f;
	private double  freq  = 0.0f;
	
	public HistogramItem(String label, double freq)
	{
		this.label = label;
		this.freq  = freq;
	}
	
	public HistogramItem(double start, double end, double freq)
	{
		this.start = start;
		this.end   = end;
		this.freq  = freq;
	}
	
	public HistogramItem(String label, double start, double end, double freq)
	{
		this.start = start;
		this.end   = end;
		this.freq  = freq;
		this.label = label;
	}
	
	public void setLabel(String label)
	{
		this.label = label;
	}
	
	public String getLabel()
	{
		return this.label;
	}
	
	public double getStart()
	{
		return this.start;
	}
	
	public double getEnd()
	{
		return this.end;
	}
	
	public double getFrequency()
	{
		return this.freq;
	}
}
